import axios from 'axios'

const http = axios.create({
    baseURL: process.env.VUE_APP_API_URL || '/web/api/'
})

http.interceptors.request.use(config => {
    return config
}, error => {
    Promise.reject(err)
})

http.interceptors.response.use(resp => {
    return resp
})


export default http;